Package com.cisco.pt.ipc.sim.impl
Class TraceRouteProcessImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.TraceRouteProcessImpl
- All Implemented Interfaces:
IPCObject,Process,TraceRouteProcess
Information provided by the PKI file:
\class TraceRouteProcess
\brief TraceRouteProcess handles and manipulates the traceroute process.
\example network().getDevice("PC0").getProcess("IcmpProcess").getTraceRouteProcess(0)
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionTraceRouteProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()Information provided by the PKI file:getId()Information provided by the PKI file:intInformation provided by the PKI file:Information provided by the PKI file:intInformation provided by the PKI file:intInformation provided by the PKI file:voidstart()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
TraceRouteProcessImpl
public TraceRouteProcessImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
start
public void start()Information provided by the PKI file:
\brief Starts the traceroute process.- Specified by:
startin interfaceTraceRouteProcess
-
cancel
public void cancel()Information provided by the PKI file:
\brief Cancels the traceroute process.- Specified by:
cancelin interfaceTraceRouteProcess
-
getId
Information provided by the PKI file:
\brief Returns the traceroute process ID. \return short, the traceroute process ID.- Specified by:
getIdin interfaceTraceRouteProcess- Returns:
- Short Returns a Short
-
getLastIP
Information provided by the PKI file:
\brief Returns the last IP address. \return ip, the last IP address.- Specified by:
getLastIPin interfaceTraceRouteProcess- Returns:
- IPAddress Returns a IPAddress
-
getSentCount
public int getSentCount()Information provided by the PKI file:
\brief Returns the number of packets sent. \return int, the number of packets sent.- Specified by:
getSentCountin interfaceTraceRouteProcess- Returns:
- int Returns a int
-
getTimeout
public int getTimeout()Information provided by the PKI file:
\brief Returns the timeout value. \return int, the timeout value.- Specified by:
getTimeoutin interfaceTraceRouteProcess- Returns:
- int Returns a int
-
getLastDelay
public int getLastDelay()Information provided by the PKI file:
\brief Returns the last delay value. \return int, the last delay value.- Specified by:
getLastDelayin interfaceTraceRouteProcess- Returns:
- int Returns a int
-